package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface MemberDao {
    Member findByTelephone(String telephone);

    void add(Member member);

    long findCountBeforeByDate(String month);

    long findTodayNewMember(String todayDate);

    long findTotalMember();

    long findNewMemberCountAfterByDate(String thisWeekMonday);

    List<Map<String,Object>> getMemberSexReport();

    List<Map<String,Object>> getMemberAgeReport();
    long findMemberCountByMonth(String startDay, String endDay);

}
